<template>
  <div>
    <slot />

    <div class="nav-bot">
      <router-link
        :to="{ name: 'CompanyIndex' }"
        :class="{ active: $route.name === 'CompanyIndex' }"
        class="index"
      >
        续存企业
      </router-link>
      <router-link
        :to="{ name: 'OtherCompanyIndex' }"
        :class="{ active: $route.name === 'OtherCompanyIndex' }"
        class="otherco"
      >
        其他企业
      </router-link>
      <router-link
        :to="{ name: 'Profile' }"
        :class="{ active: $route.name === '' }"
        class="profile"
      >
        我的
      </router-link>
    </div>
  </div>
</template>

<script>
import { inject } from "@vue/composition-api";

export default {
  setup() {
    const app = inject("app");
    return { app };
  }
};
</script>

<style scoped></style>
